package com.isdepci.project.result.mapper;

import java.util.List;
import com.isdepci.project.result.domain.EmissionsBreakdown;
import org.apache.ibatis.annotations.Param;
/**
 * 范围排放量Mapper接口
 * 
 * @author isdepci
 * @date 2023-09-05
 */
public interface EmissionsBreakdownMapper 
{
    /**
     * 查询范围排放量
     */
     EmissionsBreakdown selectEmissionsBreakdownById(Long scopeId);

    /**
     * 查询范围排放量列表
     */
     List<EmissionsBreakdown> selectEmissionsBreakdownList(EmissionsBreakdown emissionsBreakdown);

    /**
     * 新增范围排放量
     */
     int insertEmissionsBreakdown(EmissionsBreakdown emissionsBreakdown);

    /**
     * 修改范围排放量
     */
     int updateEmissionsBreakdown(EmissionsBreakdown emissionsBreakdown);

    /**
     * 删除范围排放量
     */
     int deleteEmissionsBreakdownById(Long scopeId);

    /**
     * 批量删除范围排放量
     */
     int deleteEmissionsBreakdownByIds(Long[] scopeIds);


    void insertList(@Param("list") List<EmissionsBreakdown> list,@Param("pId")Long pId);



}
